home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 191 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: ritz.cec.wustl.edu!not-for-mail
  2. From: daf1@ritz.cec.wustl.edu (Danyel A Fisher)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: REQ: HEATING OIL DEGREE DAY FORMULA
  5. Date: 2 Jan 1996 15:52:50 -0600
  6. Organization: Washington University, St. Louis MO
  7. Message-ID: <4cc9fi$mda@ritz.cec.wustl.edu>
  8. References: <4cbpvc$p70@newsbf02.news.aol.com>
  9. NNTP-Posting-Host: ritz.cec.wustl.edu
  10.  
  11. In article <4cbpvc$p70@newsbf02.news.aol.com>, XSCBob <xscbob@aol.com> wrote:
  12. >I am working on a project which involves the computation of what the
  13. >heating oil industry calls DEGREE DAYS.  It seems that it is a calculation
  14. >based on the average temperature per day.  The colder the days the sooner
  15. >customers will need their tanks filled.  Does anyone know of this formula?
  16. > Please email me directly at XSCBob@aol.com
  17.  
  18. Sure.  It's printed in your daily paper.  Essentially, the industry picks the
  19. temperature that is to be considered "room temp."  Let temp[i] be the temperature
  20. of the day on day i.
  21.  
  22. A month's degree days is just SUMMATION(i=first day to i=last day) roomTemp - temp[i].
  23. That is, the number of degrees needed to have a house heated to room temperature
  24. across all days.  (Actually, that should be an absolute value sign: degree days
  25. is a measure of temperature adjustment) 
  26. -- 
  27. Aside from the inspiration,   | Danyel Fisher       | if two wrongs don't make
  28. the rest is mechanical -Roman | daf1@cec.wustl.edu | a right, three lefts do!
  29.